package com.ymttest.database.sharding.db.ext.model;

import java.util.Date;

public class ActualDeleteDeliveryPo {
    /**
     * delivery_id BIGINT(19) 必填<br>
     * 发货表ID
     */
    private Long deliveryId;

    /**
     * order_id BIGINT(19) 必填<br>
     * 订单号        
     */
    private Long orderId;

    /**
     * bill_no VARCHAR(50) 必填<br>
     * 面单号        
     */
    private String billNo;

    /**
     * create_time TIMESTAMP(19) 必填<br>
     * 创建时间        
     */
    private Date createTime;

    /**
     * delivery_id BIGINT(19) 必填<br>
     * 获得 发货表ID
     */
    public Long getDeliveryId() {
        return deliveryId;
    }

    /**
     * delivery_id BIGINT(19) 必填<br>
     * 设置 发货表ID
     */
    public void setDeliveryId(Long deliveryId) {
        this.deliveryId = deliveryId;
    }

    /**
     * order_id BIGINT(19) 必填<br>
     * 获得 订单号        
     */
    public Long getOrderId() {
        return orderId;
    }

    /**
     * order_id BIGINT(19) 必填<br>
     * 设置 订单号        
     */
    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    /**
     * bill_no VARCHAR(50) 必填<br>
     * 获得 面单号        
     */
    public String getBillNo() {
        return billNo;
    }

    /**
     * bill_no VARCHAR(50) 必填<br>
     * 设置 面单号        
     */
    public void setBillNo(String billNo) {
        this.billNo = billNo == null ? null : billNo.trim();
    }

    /**
     * create_time TIMESTAMP(19) 必填<br>
     * 获得 创建时间        
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * create_time TIMESTAMP(19) 必填<br>
     * 设置 创建时间        
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", deliveryId=").append(deliveryId);
        sb.append(", orderId=").append(orderId);
        sb.append(", billNo=").append(billNo);
        sb.append(", createTime=").append(createTime);
        sb.append("]");
        return sb.toString();
    }
}